from fdfs_client.client import Fdfs_client

client = Fdfs_client('/home/liuzhaoyu/Desktop/mydailyfresh/dailyfresh/utils/fdfs/client.conf')

client.upload_by_filename('/home/liuzhaoyu/Desktop/mydailyfresh/dailyfresh/static/images/goods/goods001.jpg')